package com.lujieni.springboothutool.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;


@TableName("t_department")
public class DepartmentPO implements ParentIdBase {
    /**
     *
     */
    @TableId
    private Integer id;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private Integer parentId;

    @TableField("sort")
    private int sort;

    /**
     *
     */
    @TableField("is_active")
    private Integer isActive;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getIsActive() {
        return isActive;
    }

    public void setIsActive(Integer isActive) {
        this.isActive = isActive;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }
}